Skip to content

A training failed or stopped early ​

Every training ends with a state and a reason. The state shows on its card in «Models» and in the heading of its page: «Training complete», «Training failed» or «Training cancelled». The reason is in «Model details», under «Stop reason», when you open the model. This page says what each reason means and what to do next.

It finished: the model is ready ​

Stop reasonWhat happenedWhat to do
Stopped early (no further improvement)The score on the validation images stopped improving, so the platform ended the training before its time. This is the usual end of a short training on a small dataset.Nothing: the model is complete. More time would not have helped; more images would.
Trained for the full timeIt trained for all the time you gave it.Open «Training details»: if the curve was still climbing at the end, train again with more time.
Trained every epochIt made all the passes over the images it had. Models whose length is fixed always end this way.Nothing.
Model convergedOlder trainings: it finished well, with or without stopping early.Nothing.

Early stopping is the «Patience» switch, under «Advanced settings» when you set up a training. Leave it on: switched off, the training always uses its whole time, and the model is seldom better for it.

It was stopped ​

Stop reasonWhat happenedTokens
Cancelled by userSomebody clicked «Stop training». The run is lost and cannot be resumed.Given back if it was still waiting for its machine; kept if it had started training.
Timed outNo machine became free for the training within the time limit, so the platform cancelled it: «Cancelled automatically: no GPU resources became available within the time limit». It never started.Given back. Train again later.
CancelledThe training job was cancelled in the cloud, outside the platform.Not given back by itself: ask Rosepetal support if it never started.

It failed ​

When a training fails, the platform gives its tokens back. The message under the heading and «Show debug log» on its page give the details.

Stop reasonWhat it meansWhat to change
Out of GPU memoryThe model, the image size and the batch did not fit in the memory of the machine. The platform already tried once on a larger machine.Reduce the image size, the batch size («Advanced settings») or the model size, and train again. Before training, the summary warns «No machine can fit this configuration» when it can tell.
Training failedThe training itself stopped with an error.Read the debug log. Check the dataset: images that cannot be opened, or annotations of a tag that no longer exists.
Submission failedThe platform could not start the training.Train again later. If the message talks about tokens, the project has not enough left this period.
Training job failed, Training job expired, Training job not found, Training ended without results, Result upload failedThe cloud job that ran the training ended badly, or its results could not be saved.Train again. If it keeps failing, send the name of the model and the time to Rosepetal support.

Before training again ​

  • Read «Stop reason» first: a model that stopped early is not a failure.
  • Check the dataset with its «Overview» tab: Check that a dataset is ready to train.
  • Copy the settings of the last training and change only what the reason points at: Retrain a model after adding images.
  • Delete the failed and cancelled trainings you no longer need: they have no model to use. Open one and choose «More options» → «Delete model».

Next steps ​